/*
 * [legal notice here]
 */
package com.hexacta.hrs.report.dtos;

/**
 * DTO del reporte general de time off para el iReport.
 * 
 * Created on May 18, 2009
 * 
 * @author iandronowicz
 * 
 */

public class GeneralTimeOffReportDTO implements Comparable<GeneralTimeOffReportDTO> {

    private String employeeName;

    private String totalDays;

    private String timeOffType;

    private String status;

    private String dateFrom;

    private String dateTo;

    public String getTotalDays() {
        return totalDays;
    }

    public void setTotalDays(final String totalDays) {
        this.totalDays = totalDays;
    }

    public String getTimeOffType() {
        return timeOffType;
    }

    public void setTimeOffType(final String timeOffType) {
        this.timeOffType = timeOffType;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(final String status) {
        this.status = status;
    }

    public String getDateFrom() {
        return dateFrom;
    }

    public void setDateFrom(final String dateFrom) {
        this.dateFrom = dateFrom;
    }

    public String getDateTo() {
        return dateTo;
    }

    public void setDateTo(final String dateTo) {
        this.dateTo = dateTo;
    }

    /**
     * @return the employeeName
     */
    public String getEmployeeName() {
        return employeeName;
    }

    /**
     * @param employeeName
     *            the employeeName to set
     */
    public void setEmployeeName(final String employeeName) {
        this.employeeName = employeeName;
    }

    /**
     * {@inheritDoc}
     */
    public int compareTo(final GeneralTimeOffReportDTO arg0) {
        return getEmployeeName().compareTo(arg0.getEmployeeName());
    }
}
